@media print {
  body {
    margin: 0 5mm;
    padding: 0;
    position: relative;
    height: 100%;
    font-size: 0.3mm;
  }
  @page {
    size:A5 landscape;
    margin: 0;
  }
  #app {
    width: 100%;
    height: 100%;
  }
  #app .significance-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
  }
  .top-head {
    display: flex;
    top: 5mm;
    position: absolute;
    left: 0;
    right: 0;
    align-items: flex-start;
  }
  .top-head .left {
    flex: 1;
  }
  .top-head .left img {
    width: 40mm;
    height: 9mm;
    display: inline-block;
    position: absolute;
    left:1mm;
    top:0;
    vertical-align: middle;
  }
  .top-head .left span {
    vertical-align: middle;
    font-size: 4mm;
  }
  .top-head .middle {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 5mm;
  }
  .top-head .right {
    flex: 1;
    text-align: right;
  }
  .drug-type {
    display: inline-block;
    padding: 1mm 2mm;
    border: 0.05mm solid black;
    font-size: 3mm;
  }
  .user-info {
    display: flex;
    position: absolute;
    top:18mm;
    left: 0;
    right: 0;
  }
  .user-info .left {
    flex-grow: 1;
  }
  .user-info .right {
    flex-shrink: 0;
    width: 40mm;
    height: 15mm;
  }
  .nr-box {
    border: 0.1mm solid black;
    margin-top: 3mm;
    width: 100%;
    height:140mm;
    overflow: hidden;
    display: inline-block;
    align-items: stretch;
  }
  .nr-box .nr-left {
    flex-shrink: 0;
    width: 40mm;
    border-right: 0.1mm solid black;
    padding: 1mm;
    display: flex;
    flex-direction: column;
  }
  .nr-box .nr-zhenduan {
    flex-grow: 1;
    overflow: hidden;
  }
  .nr-box .nr-guomishi {
    flex-shrink: 0;
    height: 35mm;
    overflow: hidden;
  }
  .nr-box .nr-right {
    flex-grow: 1;
    overflow: hidden;
    padding: 2mm;
  }
  .nr-box .nr-table {
    height:140mm;
    display: inline-block;
    width: 100%;
    overflow: hidden;
  }
  .nr-box .rp-box {
    font-size: 4mm;
    padding-bottom: 1mm;
  }
  .nr-box .table-title {
    font-weight: bold;
  }
  .nr-box .tr-item {
    /* height: ; */
    height: 8mm;
  }
  .bottom {
    font-weight: normal;
    font-size: 0.5mm;
    transform: scale(0.5, 0.5) translateX(-98mm);
    page-break-after: always;
  }  
}
.img-logo {
  display: inline-block;
  width: 40mm;
  height: 9mm;
}
